Home
Tester
Reference
About
Pattern
(?:[^{}]|(?<Open>{)|(?<Content-Open>})) (?(Open)(?!))
Input
0
{
1
2
{3} {
4
5
{6}} 7} 8
0 {1 2 {3} {4 5 {6}} 7} 8
Options
Ignore Case
Ignore Whitespace
Explicit Capture
Culture Invariant
Singleline
Multiline
Right To Left
ECMA Script
Start from position:
Max matches to find:
Replacement
Replace matches with...
Click the
context
tab to see replacements.
Regex Info
Table
Context
Split List
5
matches found in about
11
milliseconds.
Show Permalink
Permalink
Index
Position
Matched String
${Open}
${Content}
0
0
0
empty string
empty string
1
3
1
empty string
empty string
2
5
2
empty string
empty string
3
12
4
empty string
empty string
4
14
5
empty string
empty string
0
{
1
2
{3} {
4
5
{6}} 7} 8
empty string
{
empty string
{3} {
empty string
{6}} 7} 8